<!DOCTYPE html>
<html>

<head>
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
  <link rel="icon" href="<%= BASE_URL %>favicon.ico">
  <% for (let i=0; i < htmlWebpackPlugin.options.cdnCss.length; i++) { %>
    <link rel="stylesheet" href="<%= htmlWebpackPlugin.options.cdnCss[i] %>">
    <% } %>
      <title>
        <%= webpackConfig.name %>
      </title>
</head>

<body>
  <!-- 注意：html-webpack-plugin 提供了两种模板语法： -->
  <!-- 第一种语法类似于 vue 中的插值表达式 -->
  <!-- 第二种语法，用来编写 JS 语句 -->
  </h1>
  <noscript>
    <strong>We're sorry but <%= webpackConfig.name %> doesn't work properly without JavaScript enabled. Please
        enable it
        to continue.</strong>
  </noscript>
  <div id="app"></div>
  <!-- built files will be auto injected -->
  <!-- 引入第三方的脚本链接 -->
  <% for (let i=0; i < htmlWebpackPlugin.options.cdnScripts.length; i++) { %>
    <script src="<%= htmlWebpackPlugin.options.cdnScripts[i] %>"></script>
    <% } %>
</body>

</html>